<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/addDept">
  <input type="text" name="id" id="did"><br>
  <input type="text" name="dname" id="dname"><br>
  <input type="text" name="loc" id="loc"><br>
  <input type="submit" ><br>
</form>
</body>
</html>